package com.dhy.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Department {

    @ApiModelProperty(value = "部门ID")
    private Long id;
    private String name;
    private String intro;
    private Date createTime;
    private Date updateTime;
    private Long managerId;
    private Long parentId;
    private String path;
    private boolean state;

    private List<Employee> employees;

    private Employee manager;

    private Department parent;
}
